<html>
<head>
<title>HELLO</title>
<script language="javascript">
	function TJ() {
		var a = f1.userName.value;
		var b = f1.Pwd.value;
		if (a == 111 && b == 123) {
			alert("Welcome Back");
			disp = open("", "result");
			return false;
		} else {
			alert("WRONG PASSWD");
			return false;
		}

	}
</script>
</head>
<body>
	<form name="f1">
		<table align="center">
			<tr>
				<td>USER:</td>
				<td><input type="text" size="15" name="userName"></td>
			</tr>
			<tr>
				<td>PWD:</td>
				<td><input type="password" size="15" name="Pwd"></td>
			</tr>
			<tr>
				<td></td>
				<td><input type="button" name="Ok" value="Login" onClick="TJ()">
					<input type="reset" name="Clear" value="Cancel"></td>
			</tr>
		</table>
	</form>
</body>
</html>
